#ifndef MYGOALITEM_H
#define MYGOALITEM_H
#include <QPainter>
#include <QGraphicsItem>
#include <QDebug>

class myGoalItem : public QGraphicsItem
{
public:
    myGoalItem(QColor color, QString name);

    QRectF boundingRect() const;

    void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget);

private:
    QColor pcolor;
    QString pname;
};

#endif // MYGOALITEM_H
